﻿using MyabpDDD.Demo.Application.LinemanagementtableLy.Dto;
using MyCompany.MyProject.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace MyabpDDD.Demo.Application.LinemanagementtableLy
{
    public interface ILinemanagementtableLyService : IApplicationService
    {
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="pageIndex">当前页</param>
        /// <param name="pageSize">页大小</param>
        /// <param name="xianname">线路名称</param>
        /// <param name="qidian">起点</param>
        /// <param name="zhundian">终点</param>
        /// <param name="shifou">是否外协</param>
        /// <param name="phone">货主手机号</param>
        /// <param name="danwei">货主单位</param>
        /// <returns></returns>
        dynamic QueryStudentAll(int pageIndex, int pageSize, string xianname, string qidian,string zhundian,string shifou,string phone,string danwei);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Linemanagementtable> Inser(LinemanagementtableLyDto dto);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<bool> update(LinemanagementtableLyDto dto);
        Task Delete(int id);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        dynamic Get(int id);
        /// <summary>
        /// 查看详细信息
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        bool SelectDel(string ids);
    }
}
